Identify the Method
You just learned how to call a method using the Event System and Event Trigger. Before you move on to changing scenes when the method is called, let's quickly test if you remember how a method is written.
Which of the following lines of code is the correct syntax for creating a method?
int coolFactor = 0;
if (coolFactor >= 0) { // do stuff }
public void coolFactor() { // do stuff }
Next Concept